﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;
using DataAccess;

namespace BaseWeb.JQuery.其他研究
{
    public partial class _1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindGrid();
            }
        }

        private void BindGrid()
        {
            var list = CommonSystem.Instance.Service.GetAllList<li_Student>();
            this.GridView1.DataSource = list;
            this.GridView1.DataBind();
        }
    }
}
